package com.peach.service.UserManage;

import com.peach.domain.UserManage.CurrentUser;
import com.peach.domain.UserManage.User;

import java.util.List;
import java.util.Map;

public interface UserApplication {

    //登录接口
    public List<User> login(User user);

    //注册接口
    public int register(User user);

    //注销接口


    //修改密码接口
    public int modifyPassword(Map m);

    //保存当前准备安装描述文件的用户
    public int insertCurrentUser(Map<String,String> m);

    //查找当前所有用户
    public User selectUser();
    //查找当前准备安装描述文件的用户
    public CurrentUser selectCurrentUser();

    //清空当前准备安装描述文件的用户
    public int deleteCurrentUser();


}
